package com.patient.domin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.godGuang.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 *  H币消费记录对象 Account
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_currency")
public class Account {
    private static final long serialVersionUID = 1L;

    /** 记录主键 */
    @TableId(type = IdType.AUTO)
    private Integer accountId;
    private Long userId;

    /**
     * 入账信息标题
     */
    private String accountTitle;

    /**
     * 入账信息内容
     */
    private String accountDefault;

    /**
     * 发送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date accountTime;

    /**
     * 状态
     */
    private Integer accountStatus;

}
